Draws a sequence of segments through mouse clicks. A double click terminates the vector line sequence. A triple click closes the vector line. The shape is used according to the current element generation mode.